package com.googlecode.auctionx.mercadolivre.xml.elements;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

@Root
public class Response {
	
	@Attribute
	private String type;
	
	@Attribute(name="generation_date_gmt")
	private String generationDateGmt;

	@Element
	private String url;
	
	@Element
	private String copyright;

	@Element
	private Listing listing;
	
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getGenerationDateGmt() {
		return generationDateGmt;
	}

	public void setGenerationDateGmt(String generationDateGmt) {
		this.generationDateGmt = generationDateGmt;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public void setCopyright(String copyright) {
		this.copyright = copyright;
	}

	public String getCopyright() {
		return copyright;
	}

	public void setListing(Listing listing) {
		this.listing = listing;
	}

	public Listing getListing() {
		return listing;
	}

}